package com.lx.patterns.prototype.demo3;

import java.io.Serializable;

/**
 * @ClassName Citation
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 07:28
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 07:28
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Citation implements Cloneable, Serializable {

    private Student student;

    public void setStudent(Student student) {
        this.student = student;
    }

    public void show(){
        System.out.println(student.getName()+"获取三好学生奖状");
    }

    @Override
    protected Citation clone() throws CloneNotSupportedException {
        return (Citation)super.clone();
    }
}
